<template>
  <div>
    <h1>{{ time | filtime }}</h1>
  </div>
</template>

<script>
export default {
  data() {
    return {
      time: new Date(),
    };
  },
  methods: {},
  created() {},
  mounted() {},
  components: {},
  computed: {},
  watch: {},
  filters: {
    filtime(val) {
      return new Date(val).toLocaleString();
    },
  },
};
</script>

<style lang="scss" scoped></style>
